<%@ page trimDirectiveWhitespaces="true" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<title>人员选择</title>
<jsp:include page="../../include/header.jsp" />
</head>
<body class="smartao">
	<div class="searchs"></div>
	<table class="table table-hover table-selector">
		<thead>
			<tr>
				<th></th>
				<th>姓名</th>
				<th>所属部门</th>
				<th>直接上司</th>
				<th>主岗</th>
				<th>安全级别</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach var="employee" items="${page.content}">
			<tr id="${employee.id}">
				<td></td>
				<td class="primary"><a href="base/employee/employee!preUpdate.action?id=${employee.id}">${employee.name}</a></td>
				<td>${employee.office}</td>
				<td>${employee.department.name}</td>
				<td>${employee.manager.name}</td>
				<td>${employee.position.name}</td>
				<td>${employee.secLevel}</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<jsp:include page="../../include/pagination.jsp" />
	<script type="text/javascript">
		initSelectorList();
		initPagination(function(pageNo){
			location.href='base/employee/employee.action?pageNumber='+pageNo;
		});
	</script>
</body>
</html>
<script>
	
</script>